<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Main complaint - Temperature</title>
<link rel="stylesheet" href="../../style/primaryCSS.css"/>
<link rel="stylesheet" href="../../style/radiobuttons.css"/>
<link rel="stylesheet" href="../../style/input.css"/>
<script type='text/javascript' src='http://ajax.googleapis.com/ajax/libs/jquery/1.4/jquery.min.js'></script>
<script type="text/javascript" src="../../javascript/JavaScript1.js"></script>

</head>

<?php
	//include("includes/connect.php");
	$userID = $_POST['users_idNum'];
	$userID = intval($userID);
	$complaint = $_POST["complaints_complaint"];
	include ("../../database/updateUser.php");
	
?>


<body>

<h1>תלונה עיקרית - חום</h1>
<form id="Main_complaint_temperature" method="post" action="output.php" enctype="multipart/form-data">
	
	<!-- HIDDEN FIELDS -->
    <input type="text" name="users_idNum" hidden="true" value= "<?php echo htmlspecialchars($userID);?>" />
    <input type="text" name="complaints_complaint" hidden="true" value="<?php echo htmlspecialchars($complaint);?>"/>
	
    <table>
    	<tr>
        <td><label class="textinput" for="temperature_maxFever">חום הכי גבוה?</label><td><input type="text" name="temperature_maxFever" size="2" maxlength="2"/>
        <tr>
        <td><label class="textinput" for="temperature_feverDuration">כמה זמן נמשך החום?</label><td><input type="text" name="temperature_feverDuration" size="2" maxlength="2"/>
    </table>
    
    <div class="radiobuttons" id="duration">
        
        <input type="radio" name="temperature_DurationUnits" id="DurationUnits1" value="weeks"/>
    	<label class="radiolabel" for="DurationUnits1">שבועות</label>
        <input type="radio" name="temperature_DurationUnits" id="DurationUnits2" value="days"/>
        <label class="radiolabel" for="DurationUnits2">ימים</label>
                
	</div>
        
    <div class="radiobuttons" id="sideEfx">
    	<h3>כולל תחושות צמרמורת \ רעידות \ נקישות בשיניים?</h3>
        <input type="radio" name="temperature_sideEffects" id="sideEffects1" value="yes"/>
		<label class="radiolabel" for="sideEffects1">כן</label>
        <input type="radio" name="temperature_sideEffects" id="sideEffects2" value="no"/>
        <label class="radiolabel" for="sideEffects2">לא</label>
    </div>

	<div class="radiobuttons" id="fever">
    	<h3>כיצד החל?</h3>
		<input type="radio" id="feverStart1" name="temperature_feverStart" value="grad"/>
        <label class="radiolabel" for="feverStart1">עלה בהדרגה</label>
        <input type="radio" id="feverStart2" name="temperature_feverStart" value="sudden"/>
    	<label class="radiolabel" for="feverStart2">החל בפתאומיות</label>
    </div>
    <div class="radiobuttons" id="feverChar">
				<h3> אופי החום </h3>
                <input type="radio" id="fevChar1" name="temperature_feverType" value="steady"/>
                <label class="radiolabel" for="fevChar1">קבוע לאורך היום (אלא אם נלקחים משככי כאבים ומורידי חום)</label>
                <input type="radio" id="fevChar2" name="temperature_feverType" value="upDownRand"/>
    			<label class="radiolabel" for="fevChar2">עולה ויורד בפתאומיות</label>		
                <input type="radio" id="fevChar3" name="temperature_feverType" value="upDownFix"/>
    			<label class="radiolabel" for="fevChar3">עולה ויורד בזמנים קבועים פחות או יותר במהלך היום</label>		
	
    </div>
    
    <div class="radiobuttons" id="reaction">

				<h3>האם מגיב למשככי כאבים \ מורידי חום?</h3>
                <input type="radio" id="react1" name="temperature_reaction" value="1"/>
                <label class="radiolabel" for="react1">כן</label>
                <input type="radio" id="react2" name="temperature_reaction" value="0"/>
    			<label class="radiolabel" for="react2">לא</label>		
	
    </div>
    
    <div class="radiobuttons" id="additional_symptoms">

				<h3>האם ישנם תסמינים נוספים (מלבד חום)?</h3>
                <input type="radio" class="condButton" id="additional1" name="none_additional" value="yes"/>
                <label class="radiolabel" for="additional1">כן</label>
                <input type="radio" class="condButton" id="additional2" name="none_additional" value="no"/>
    			<label class="radiolabel" for="additional2">לא</label>		
                
                <ul class="nav" hidden>
                    <input type="submit" class="condButton" id="submitButton" hidden/>
                <label for="submitButton">שלח</label>
	
    </div>
    
</form>
</body>

</html>
